using System.ComponentModel.DataAnnotations;
using Orchard.ContentManagement.Records;
using Twitter.Models.Enums;

namespace Twitter.Models
{
    public class TweetButtonPartRecord : ContentPartRecord
    {
        public virtual string Username { get; set; }
        public virtual string RelatedUsername { get; set; }
        public virtual string RelatedUserDescription { get; set; }
        public virtual string TweetText { get; set; }
        public virtual string Url { get; set; }
        public virtual int DataCount { get; set; }
        public virtual int Language { get; set; }

        public TweetButtonPartRecord()
        {
            DataCount = (byte)Twitter.Models.Enums.DataCount.Vertical;
            Language = (byte)Twitter.Models.Enums.Language.English;
        }
    }
}